﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/WebNemo.Master" AutoEventWireup="true"
    CodeBehind="GroupListing.aspx.cs" Inherits="blackhouse.WebNemo.Web.GroupListing" %>

<%@ Register Src="Controls/Records.ascx" TagName="Records" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphTop" runat="server">
    <section id="group-listing">
        <div id="scrollAlwaysTop">
            <header>
                <h1>
                    <asp:Literal runat="server" ID="ltlGroupName"></asp:Literal>
                </h1>
                <asp:HyperLink runat="server" ID="lnkAdd" ToolTip="Dodaj nowy rekord" CssClass="head-action">+ dodaj nowy wpis</asp:HyperLink>
                <div class="bord-left fRight">
                    <asp:HyperLink ID="lnkClose" runat="server" CssClass="close">zamknij</asp:HyperLink>
                    <%--<div class="close" data-type="close-popup">zamknij</div>--%>
                </div>
                <div class="bord-left fRight">
                    <div class="search">
                        <label for="search-input">Szukaj:</label>
                        <div class="search-input">
                            <input type="text" name="search" data-type="filter" data-rowselector="#recordsTable>.row" data-rowvalueselector=".identifier a.text" />
                        </div>
                        <div class="cleaner"></div>
                    </div>
                </div>
                <div class="bord-left fRight">
                    <div class="sort">
                        <span class="title">Sortuj:</span>
                        <div class="sort-options" data-sortable="#recordsTable>.row" data-sortidselect="#groupId">
                            <a class="sort-desc" data-type="sortoption" data-sortkey="date" data-sortby=".time a" data-sortattr="data-value" data-sortuseval="true" >Data</a>
                            <a data-type="sortoption"  data-sortkey="name" data-sortby=".identifier a.text" data-sortattr="title" >Nazwa</a>
                        </div>
                        <div class="cleaner"></div>
                    </div>
                </div>
                <div class="cleaner"></div>
            </header>
            <asp:HyperLink runat="server" ID="lnkRefresh" ToolTip="Odśwież listę" Visible="false"><span class="ui-icon-refresh"></span>Odśwież</asp:HyperLink>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphLeft" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphRight" runat="server">
    <div id="scrollMakeScroll">
        <uc1:Records ID="Records1" runat="server" />
    </div>
</asp:Content>
